package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Comment;
import cn.wolfcode.trip.base.query.CommentQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICommentService {
    /**
     * 新增或者修改的逻辑方法
     */
    void save(Comment comment);

    /**
     * 获取这篇游记的所有评论
     * @param
     * @return
     */
    PageInfo queryForLits(QueryObject qo);

    Integer getCommentTotal(CommentQueryObject qo);
}
